/**
 * @filename:AttendCourseRecordService AttendCourseRecord
 * @project constract  V1.0
 * Copyright(c) 2018 lin keqing Co. Ltd. 
 * All right reserved. 
 */
package com.znufe.exam.service;

import java.util.List;

import com.znufe.exam.domain.AttendCourseRecord;
/**   
 *  
 * @Description:  上课记录信息——SERVICE
 * @Author:       lin keqing   
 * @CreateDate:   AttendCourseRecord
 * @Version:      V1.0
 *    
 */
public interface AttendCourseRecordService extends BaseService<AttendCourseRecord> {
	
	/**
	 * @explain 查询上课记录信息对象
	 * @param   id
	 * @return  AttendCourseRecord
	 * @author  lin keqing
	 */
	public AttendCourseRecord selectByPrimaryKey(Integer id);
	
	/**
	 * @explain 删除上课记录信息对象
	 * @param   id
	 * @return  int
	 * @author  lin keqing
	 */
	public int deleteByPrimaryKey(Integer id);
	
	/**
	 * @explain 添加上课记录信息对象
	 * @param   attendCourseRecord
	 * @return  int
	 * @author  lin keqing
	 */
	public int insertSelective(AttendCourseRecord attendCourseRecord);
	
	/**
	 * @explain 修改上课记录信息对象
	 * @param   attendCourseRecord
	 * @return  int
	 * @author  lin keqing
	 */
	public int updateByPrimaryKeySelective(AttendCourseRecord attendCourseRecord);
	
	/**
	 * @explain 查询上课记录信息集合
	 * @param   attendCourseRecord
	 * @return  List<AttendCourseRecord>
	 * @author  lin keqing
	 */
	public List<AttendCourseRecord> queryAttendCourseRecordList(AttendCourseRecord attendCourseRecord);

	/**
	 * 获取最近一次上课记录
	 * @return
	 */
	public AttendCourseRecord selectLastRecord();
}